Week 10

 

 

 

 

Input Devices

 

Assignment

Measure something: add a sensor to a microcontroller that you´ve designed and read it.

 

 

I decided to design the magnetic field board since that is what I could use for my final project. I will use a hall sensor that operates as an analog transducer, directly returning a voltage. With a known magnetic field, it´s distance from the Hall plate can be determined. Hall Sensor

I opened Eagle and opened scematic board. I used this image from the FabAcademy website.

I used this screenshot from week 6 to help me find the right pieces from the fab library.

 

 


I go to the supply 1 library to find GND and VCC: I needed to find a package for the magnetic piece itself.




I ran into problem since I always got an error when I tried connecting so for a long time I tried many different things but nothing seemed to work.

This next image is to remind me to take the square of the top layer but on layer 206 bmp.

 

 

After even cutting out board that didn´t work my instructor told me I could take the image into photoshop and make the white squares a little smaller so the line could go between them.

 


 

 

Then it all worked out great.

Eagle file

 

I soldered the pieces on my board and then I programmed it. I had some problems at first since I hadn´t soldered well enough. Then I downloaded Python and Pserial.


 

 

 

 

Then I had to program and I went into Arduino in order find out which port = cam13

 

 

 

 

This is what happens when I put a magnet to my board.